package com.captjack.shiro.service.impl;

import com.captjack.shiro.entity.SysUser;
import com.captjack.shiro.service.SysUserService;
import org.springframework.stereotype.Service;

/**
 * @author Capt Jack
 * @date 2018/6/8
 */
@Service
public class SysUserServiceImpl implements SysUserService {

    @Override
    public SysUser findUserByUsername(String username) {
        SysUser sysUser = new SysUser();
        sysUser.setUsername("admin");
        sysUser.setPassword("123456");
        return sysUser;
    }

}